//
//  GTRaidersReuseView.m
//  GiftTalk
//
//  Created by Wan on 16/4/7.
//  Copyright © 2016年 Wan. All rights reserved.
//

#import "GTRaidersReuseView.h"
#import "GTChannelGroup.h"

@interface GTRaidersReuseView ()
@property (weak, nonatomic) IBOutlet UILabel *groupTitleLabel;
@end

@implementation GTRaidersReuseView

+ (instancetype)reuseViewWithCollectionView:(UICollectionView *)collectionView forIndexPath:(NSIndexPath *)indexPath {
    GTRaidersReuseView *reuseView = [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier: reuseHeaderIdentifier forIndexPath:indexPath];
    
    return reuseView;
}

- (void)setChannelGroup:(GTChannelGroup *)channelGroup {
    _channelGroup = channelGroup;
    self.groupTitleLabel.text = channelGroup.name;
}

- (void)awakeFromNib {
    // Initialization code
}

@end
